{extend name="./content"}

{block name="content"}
<form onsubmit="return false;" action="__SELF__" data-auto="true" method="post" class='form-horizontal' style='padding-top:20px'>
	<div class="form-group">
		<label class="col-sm-2 control-label">商品发布审核</label>
		<div class='col-sm-8'>
			<select name="audit_type" class="layui-input" required>
				<option value="1" {if sysconf('audit_type')==1}selected{/if}>无需审核</option>
				<option value="2" {if sysconf('audit_type')==2}selected{/if}>需要审核</option> 				
				<option value="3" {if sysconf('audit_type')==3}selected{/if}>缴纳保证金免审核</option> 
			</select>
			<p class="help-block red" style="color: red;">商品审核控制系统商家发布审核状态</p>
		</div> 
	</div>	
	
	<div class="form-group layui-form-item">
		<label class="col-sm-2 control-label">商品价格区间</label>
		<div class='layui-input-inline' style="margin-left: 15px;">
			<input type="number" onkeyup="gt0(this)" name="goods_min_price" required="required" title="商品最低价格"
				placeholder="商品最低价格" value="{:sysconf('goods_min_price')}" class="layui-input" min="0">
			<p class="help-block">商品发布的价格区间,0为不限制</p>
		</div>

		<div class='layui-input-inline'>
			<input type="number" onkeyup="gt0(this)" name="goods_max_price" required="required" title="商品最高价格"
				placeholder="商品最高价格" value="{:sysconf('goods_max_price')}" class="layui-input" min="0">

		</div>
	</div>

    <div class="hr-line-dashed"></div>

    <div class="subto">
        <div class="layui-form-item text-center">
            <button class="layui-btn" type="submit">保存配置</button>
        </div>
    </div>

</form>
<script>
    layui.use('form', function(){
        var form = layui.form; //只有执行了这一步，部分表单元素才会自动修饰成功
        form.render();
    });
</script>
{/block}
